package ysq.xyg.web.service;


import ysq.xyg.base.model.dto.ReturnEntity;
import ysq.xyg.base.service.BaseService;
import ysq.xyg.web.model.po.WebImages;
import ysq.xyg.sys.model.po.SysUser;
import ysq.xyg.web.model.vo.WebImagesVo;

import java.util.List;
/**
 * 网站模块-图片集service接口
 *
 * @author shengQiang yu
 * @date 2019-8-19 14:28:53
 */
public interface WebImagesService extends BaseService<WebImages> {
    /**
     * 分页查询
     *
     * @param webImagesVo 对象
     * @param pageSize 当前页面
     * @param pageNum 页面数量
     * @return ReturnEntity 对象
     * @author shengQiang yu
     * @date 2019-8-19 14:28:53
     */
    ReturnEntity page(WebImagesVo webImagesVo, int pageSize, int pageNum);
    /**
     * 修改
     *
     * @param webImagesVo 对象
     * @param currentUser 当前用户
     * @return ReturnEntity 对象
     * @author shengQiang yu
     * @date 2019-8-19 14:28:53
     */
    ReturnEntity addOrUpdate(WebImagesVo webImagesVo, SysUser currentUser);
    /**
     * 删除
     *
     * @param id 主键id删除
     * @param currentUser 当前用户
     * @return ReturnEntity 对象
     * @author shengQiang yu
     * @date 2019-8-19 14:28:53
     */
    ReturnEntity delete(String id, SysUser currentUser);
    /**
     * 关联获取集合
     *
     * @param webImagesVo 对象
     * @return List<BaseDict> BaseDict集合
     * @author shengQiang yu
     * @date 2019-8-19 14:28:53
     */
    List<WebImages> listLeft(WebImagesVo webImagesVo);
    /**
     * 获取集合
     *
     * @param webImagesVo 对象
     * @return List<WebImages> WebImages集合
     * @author shengQiang yu
     * @date 2019-8-19 14:28:53
     */
    List<WebImages> acceptList(WebImagesVo webImagesVo);
}
